package cn.tedu.charging.order.Dao.repository;

import cn.tedu.charging.order.pojo.po.ChargingOrderFailPO;
import cn.tedu.charging.order.pojo.po.ChargingOrderSuccessPO;

public interface OrderRepository {

    ChargingOrderSuccessPO getSuccessOrderByOrderNo(String orderNo);

    ChargingOrderFailPO getFailOrderByOrderNo(String orderNo);

    int insertFailOrder(ChargingOrderFailPO chargingOrderFailPO);


    int updateOrderStatusFromChargingToExceptionEnd(String message);

}
